<?php 

$conn = @ mysql_connect("localhost","root","") or  die("数据库连接错误");
mysql_select_db("app",$conn);
mysql_query("set names 'utf8'");
?>
